% This file was created by matlab2tikz v0.4.7 running on MATLAB 7.14.
% Copyright (c) 2008--2014, Nico Schlömer <nico.schloemer@gmail.com>
% All rights reserved.
% Minimal pgfplots version: 1.3
% 
% The latest updates can be retrieved from
%   http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz
% where you can also make suggestions and rate matlab2tikz.
% 
%
% defining custom colors
\definecolor{mycolor1}{rgb}{0.98047,0.48438,0.15625}%
\definecolor{mycolor2}{rgb}{1.00000,0.00000,1.00000}%
\definecolor{mycolor3}{rgb}{0.00000,1.00000,1.00000}%
%
\begin{figure}[htb]
\begin{center} 
\begin{tikzpicture}[%
arrow0/.style={-latex,color=mycolor1,solid,very thick},
arrow1/.style={-latex,color=black,dashed,very thick},
arrow2/.style={-latex,color=black,solid,very thick},
arrow3/.style={-latex,color=blue,solid,very thick},
arrow4/.style={-latex,color=red,dashed,very thick},
arrow5/.style={-latex,color=mycolor2,solid,very thick},
arrow6/.style={-latex,color=mycolor3,solid,very thick},
arrow7/.style={-latex,color=red,solid,very thick},
arrow8/.style={-latex,color=black,dashed,very thick},
arrow9/.style={-latex,color=black,dashed,very thick}
]

\begin{axis}[%
width=0.75\textwidth,
%height=0.529619391025641in,
scale only axis,
xmin=-160,
xmax=45,
xmajorgrids,
ymin=-5,
ymax=200,
ymajorgrids,
legend style={
	cells={anchor=east},
	legend pos=outer north east}
%hide axis
]

\addplot [arrow8,forget plot] coordinates{(0,0) (0,198)};
%\addlegendentry{q-Achse};
\node[right, inner sep=0mm, text=black]
at (axis cs:1.5,196.9081,0) {q-Achse};

\addplot [arrow8,forget plot] coordinates{(0,0) (30,0)};
%\addlegendentry{d-Achse};
\node[right, inner sep=0mm, text=black]
at (axis cs:22,5,0) {d-Achse};

\addplot [arrow0] coordinates{(0,0) (0,181.8162)};
\addlegendentry{$\underline{U}_\text{p}$};
\node[right, inner sep=0mm, text=black]
at (axis cs:1.5,178.9081,0) {$\underline{U}_\text{p}$};


\addplot [arrow1] coordinates{(0,0) (-17.8060056747089,72.0419362451637)};
\addlegendentry{$\underline{I}_\text{s}$};
\node[right, inner sep=0mm, text=black]
at (axis cs:-22.90300283735444,70.0209681225819,0) {$\underline{I}_\text{s}$};

\addplot [arrow2] coordinates{(0,181.8162) (-18.1061134126552,181.8162)};
\addlegendentry{$jX_\text{q,h}\underline{I}_\text{q}$};
\node[right, inner sep=0mm, text=black]
at (axis cs:-20.05305670632762,186.8162,0) {$jX_\text{q,h}\underline{I}_\text{q}$ };

\addplot [arrow3] coordinates{(-18.1061134126552,181.8162) (-18.1061134126552,168.699572487542)};
\addlegendentry{$jX_{\text{d,h}}\underline{I}_\text{d}$};
\node[right, inner sep=0mm, text=black]
at (axis cs:-38.1061134126552,175.257886243771,0) {$jX_\text{d,h}\underline{I}_\text{d}$};

\addplot [arrow4] coordinates{(0,0) (-18.1061134126552,168.699572487542)};
\addlegendentry{$\underline{U}_\text{h}$};
\node[right, inner sep=0mm, text=black]
at (axis cs:-15.05305670632762,165.3497862437709,0) {$\underline{U}_\text{h}$};

\addplot [arrow5] coordinates{(-18.1061134126552,168.699572487542) (-138.81353616369,138.865323624905)};
\addlegendentry{$jX_{\text{s,}\sigma}\underline{I}_\text{s}$};
\node[right, inner sep=0mm, text=black]
at (axis cs:-78.4598247881727,162.782448056224,0) {$jX_{\text{s,}\sigma}\underline{I}_\text{s}$};

\addplot [arrow6] coordinates{(-138.81353616369,138.865323624905) (-139.953690319053,143.478312886556)};
\addlegendentry{$R_\text{s}\underline{I}_\text{s}$};
\node[right, inner sep=0mm, text=black]
at (axis cs:-150.383613241372,137.17181825573,0) {$R_\text{s}\underline{I}_\text{s}$};

\addplot [arrow7] coordinates{(0,0) (-139.953690319053,143.478312886556)};
\addlegendentry{$\underline{U}_\text{s}$};
\node[right, inner sep=0mm, text=black]
at (axis cs:-137.9768451595266,145.7391564432778,0) {$\underline{U}_\text{s}$};



\end{axis}
\end{tikzpicture}%
\caption{Beispielhaftes Zeigerdiagramm mit den Parametern der Maschine EW2-A mit der Funktion \textit{Zeigerdiagramm} erstellt}
\label{Zeigerdiagramm_last}
\end{center}
\end{figure}